package shared.pojo

import shared.pojo.Pojo.{MemberAddData, ValidData}
import upickle.default._

/**
 * Created by yz on 13/7/2022
 */
object Member {

  object Add {

    type Request = MemberAddData
    type Response = ValidData

  }

  object Update {

    type Request = MemberAddData
    type Response = ValidData

  }

  object Add2Db {

    case class Request(ids: List[String], account: String)

    implicit val requestRw = macroRW[Request]

  }

}
